function columns(vm) {
  const cols = [
    {
      title: '序号',
      dataIndex: '',
      key: 'rowIndex',
      width: 60,
      align: 'center',
      customRender: function (t, r, index) {
        return parseInt(index) + 1
      }
    },
    {
      title: '目标',
      align: 'center',
      dataIndex: 'mubiao',
      key: 'mubiao'
    },
    {
      title: '审计步骤和方法',
      align: 'center',
      dataIndex: 'buzhou',
      key: 'buzhou'
    },
    {
      title: '执行人',
      align: 'center',
      dataIndex: 'zxr',
      key: 'zxr'
    },
    {
      title: '底稿（执行）',
      align: 'center',
      dataIndex: 'digaoNum',
      key: 'digaoNum'
    },
    {
      title: '疑点（执行）',
      align: 'center',
      dataIndex: 'yidianNum',
      key: 'yidianNum'
    },
    {
      title: '审计问题（执行）',
      align: 'center',
      dataIndex: 'wentiNum',
      key: 'wentiNum'
    },
    {
      width: 220,
      dataIndex: 'action',
      align: 'center',
      slots: {title: 'actionName'},
      scopedSlots: {customRender: 'action'}
    }
  ]
  return cols
}

export default columns